//
//  UIButton+LYAdd.h
//  LYDevelopKit
//
//  Created by 李阳 on 2018/5/25.
//

#import <UIKit/UIKit.h>

@interface UIButton (LYAdd)

- (void)setBackgroundColor:(UIColor *)bgColor forState:(UIControlState)state;


- (void)cutdown:(NSUInteger)interval
 repeatInterval:(NSUInteger)repeat
     willResume:(void (^)(UIButton *button))resumeBlock
       progress:(void (^)(UIButton *button, NSUInteger left))progressBlock
        invalid:(void (^)(UIButton *button))endBlock;

@end
